<html>
<head><meta charset="utf-8"><title>all results in workspace symbol · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/all.20results.20in.20workspace.20symbol.html">all results in workspace symbol</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="172720945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/all%20results%20in%20workspace%20symbol/near/172720945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ivan Molodetskikh <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/all.20results.20in.20workspace.20symbol.html#172720945">(Aug 07 2019 at 22:20)</a>:</h4>
<p>Hello! I'm using <code>rust-analyzer</code> with <code>LanguageClient-neovim</code> and as far as I understand its workspace symbol implementation queries the language server once, and then presents everything it has returned as a fuzzy-searchable FZF buffer. The most convenient workflow here is to use an empty query and then fuzzy-search across all returned symbols. However, with <code>rust-analyzer</code> this means that only types are returned and not functions. Is there some option to make <code>rust-analyzer</code> return everything on an empty query?</p>



<a name="172745377"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/all%20results%20in%20workspace%20symbol/near/172745377" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/all.20results.20in.20workspace.20symbol.html#172745377">(Aug 08 2019 at 07:48)</a>:</h4>
<p>I think the client should re-query the server when the query string changes</p>



<a name="172745388"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/all%20results%20in%20workspace%20symbol/near/172745388" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/all.20results.20in.20workspace.20symbol.html#172745388">(Aug 08 2019 at 07:48)</a>:</h4>
<p>all symbols from your crate, deps and stdlib is a lot</p>



<a name="172745410"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/all%20results%20in%20workspace%20symbol/near/172745410" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/all.20results.20in.20workspace.20symbol.html#172745410">(Aug 08 2019 at 07:49)</a>:</h4>
<p>We also have some query-level hacks to workaround VS Code UI limitations (<code>#</code> and <code>*</code> characters filter the query): <a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md#workspace-symbol-ctrlt" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md#workspace-symbol-ctrlt">https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md#workspace-symbol-ctrlt</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>